﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OilWaterSystem.IDAL;

namespace OilWaterSystem.DAL
{
    /// <summary>
    /// 简单工厂实现低耦合，数据库访问层的统一入口
    /// </summary>
    /// 尽量的去依赖接口编程
    public static class RepositoryFactory
    {
        //public static IUserRepository UserRepository
        //{
        //    get
        //    {
        //        return new UserRepository();
        //    }
        //}

    }
}
